*, :after, :before {
    box-sizing: border-box;
}

body {
    /* text-align: center; */
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ff92ba;
    transition: background-color 0.2s cubic-bezier(0, -1.85, .27, 1.75);
}

.container {
    display: flex;
    width: 200px;
    justify-content: flex-start;
    align-items: center;
}

.container:after {
    content: "FF";
    font-size: 100px;
    color: rgba(220, 20, 94, 0.31);
}

.container label {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 80px;
    background-color: #dc145e;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: inset 0 0 2px 1px rgba(0, 0, 0, 0.1),
        0px 9px 15px 0px #ef4247;
    -webkit-tap-highlight-color: transparent;
}

.container label:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.2s cubic-bezier(0, -1.85, .27, 1.75);
    height: 42px;
    width: 42px;
    background-color: #bb0f4f;
    border-radius: 46px;
    box-shadow: inset 0px 0px 0px 8px #fff;
}

input {
    display: none;
}

input:checked + label {
    background-color: #14dcae;
    box-shadow: inset 0 0 2px 1px rgba(0, 0, 0, 0.1),
        0px 9px 15px 0px rgba(20, 220, 174, 0.54);
}

input:checked + label:before {
    width: 10px;
    background-color: #fff;
}

.on {
    background-color: #92ffd7;
}

.on .container:after {
    content: "N";
    color: #fff;
}